package cn.bdqn.Servlet;

import cn.bdqn.Bean.Working;
import cn.bdqn.Service.WorkingServiceDao;
import cn.bdqn.Service.impl.WorkingServiceImpl;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;

@WebServlet( "/WorkingServlet")
public class WorkingServlet extends HttpServlet {
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        request.setCharacterEncoding("uft-8");
        String opr=request.getParameter("opr");
        WorkingServiceDao wo=new WorkingServiceImpl();
        response.setContentType("text/html;charset=uft-8");
        PrintWriter out=response.getWriter();

    }

    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

    }
}
